/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.jobmesmanage.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfz.campusinfo.common.persistence.DataEntity;

import java.util.Date;

/**
 * 就业报名Entity
 * @author zms
 * @version 2018-03-23
 */
public class JobWork extends DataEntity<JobWork> {
	
	private static final long serialVersionUID = 1L;
	private String jobName;		// 需求方名称
	private String jobContent;		// 岗位内容
	private String jobReq;		// 就业要求
	private String jobPay;		// 工资范围
	private String jobStatement;		// 提供服利说明
	private String jobAddr;		// 就业地点
	private String linkId;		// 关联子类id
	private String jobStype; //业务名称
	private String jobPhone;		// 联系电话
	private String jobStates;		// 状态
	private String jobShort;
	private String jobImg;
	public String getJobImg() {
		return jobImg;
	}

	public void setJobImg(String jobImg) {
		this.jobImg = jobImg;
	}
	public String getJobShort() {
		return jobShort;
	}

	public void setJobShort(String jobShort) {
		this.jobShort = jobShort;
	}
	public Date getBeginCreateDate() {
		return beginCreateDate;
	}

	public void setBeginCreateDate(Date beginCreateDate) {
		this.beginCreateDate = beginCreateDate;
	}

	private Date beginCreateDate;

	public Date getEndCreateDate() {
		return endCreateDate;
	}

	public void setEndCreateDate(Date endCreateDate) {
		this.endCreateDate = endCreateDate;
	}

	private Date endCreateDate;

	public Date getBeginUpdateDate() {
		return beginUpdateDate;
	}

	public void setBeginUpdateDate(Date beginUpdateDate) {
		this.beginUpdateDate = beginUpdateDate;
	}

	private Date beginUpdateDate;

	public Date getEndUpdateDate() {
		return endUpdateDate;
	}

	public void setEndUpdateDate(Date endUpdateDate) {
		this.endUpdateDate = endUpdateDate;
	}

	private Date endUpdateDate;

	public JobWork() {
		super();
	}

	public JobWork(String id){
		super(id);
	}

	@Length(min=1, max=30, message="需求方名称长度必须介于 1 和 30 之间")
	public String getJobName() {
		return jobName;
	}

	public void setJobName(String jobName) {
		this.jobName = jobName;
	}
	
	@Length(min=0, max=512, message="岗位内容长度必须介于 0 和 512 之间")
	public String getJobContent() {
		return jobContent;
	}

	public void setJobContent(String jobContent) {
		this.jobContent = jobContent;
	}
	
	@Length(min=0, max=255, message="就业要求长度必须介于 0 和 255 之间")
	public String getJobReq() {
		return jobReq;
	}

	public void setJobReq(String jobReq) {
		this.jobReq = jobReq;
	}
	
	@Length(min=0, max=64, message="工资范围长度必须介于 0 和 64 之间")
	public String getJobPay() {
		return jobPay;
	}

	public void setJobPay(String jobPay) {
		this.jobPay = jobPay;
	}
	
	@Length(min=0, max=512, message="提供服利说明长度必须介于 0 和 512 之间")
	public String getJobStatement() {
		return jobStatement;
	}

	public void setJobStatement(String jobStatement) {
		this.jobStatement = jobStatement;
	}
	
	@Length(min=0, max=255, message="就业地点长度必须介于 0 和 255 之间")
	public String getJobAddr() {
		return jobAddr;
	}

	public void setJobAddr(String jobAddr) {
		this.jobAddr = jobAddr;
	}
	
	@Length(min=1, max=11, message="关联子类id长度必须介于 1 和 11 之间")
	public String getLinkId() {
		return linkId;
	}

	public void setLinkId(String linkId) {
		this.linkId = linkId;
	}
	
	@Length(min=1, max=11, message="联系电话长度必须介于 1 和 11 之间")
	public String getJobPhone() {
		return jobPhone;
	}

	public void setJobPhone(String jobPhone) {
		this.jobPhone = jobPhone;
	}
	
	@Length(min=1, max=1, message="状态长度必须介于 1 和 1 之间")
	public String getJobStates() {
		return jobStates;
	}
	public String getJobStype() {
		return jobStype;
	}

	public void setJobStype(String jobStype) {
		this.jobStype = jobStype;
	}
	public void setJobStates(String jobStates) {
		this.jobStates = jobStates;
	}
	
}